home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
pdcurs21.zip
/
PORTABLE.ZIP
/
NOECHO.C
< prev
next >
Wrap
Text File
|
1992-11-21
|
1KB
|
44 lines
#define CURSES_LIBRARY 1
#include <curses.h>
#undef noecho
#ifndef NDEBUG
char *rcsid_noecho = "$Header: c:/curses/portable/RCS/noecho.c%v 2.0 1992/11/15 03:29:05 MH Rel $";
#endif
/*man-start*********************************************************************
noecho() - enable/disable terminal echo
X/Open Description:
These functions control whether characters typed by the user
are echoed by the input routine. Initially, input characters
are echoed. Subsequent calls to echo() and noecho() do not
flush type-ahead.
PDCurses Description:
No additional PDCurses functionality.
X/Open Return Value:
The noraw() function returns OK on success and ERR on error.
X/Open Errors:
No errors are defined for this function.
Portability:
PDCurses int noecho( void );
X/Open Dec '88 int noecho( void );
BSD Curses int noecho( void );
SYS V Curses int noecho( void );
**man-end**********************************************************************/
int noecho(void)
{
_cursvar.echo = FALSE;
return( OK );
}